﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="admin_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/admin/StyleSheet.css" type="text/css" rel="Stylesheet" />
</head>
<body id="login">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="loginform">
        <div id="input">
            <asp:UpdatePanel ID="upLogin" runat="server" RenderMode="Inline" ChildrenAsTriggers="false" UpdateMode="Conditional">
                <ContentTemplate>
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td align="right">
                                用户名：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="tbName" runat="server"  Width="200px"/><asp:RequiredFieldValidator ID="RequiredFieldValidator1"
                                    runat="server" ErrorMessage="用户名不能为空" ControlToValidate="tbName"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                密码：
                            </td>
                            <td align="left">
                                <asp:TextBox ID="tbPwd" runat="server" TextMode="Password" Width="200px" /><asp:RequiredFieldValidator
                                    ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空" ControlToValidate="tbPwd"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            </td>
                            <td align="left">
                                <asp:ImageButton ID="imgbtnOk" runat="server" ImageUrl="~/css/admin/button_login.gif" 
                                    onclick="imgbtnOk_Click" />
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
    </form>
</body>
</html>
